package com.xhb.campusservices.service.impl;

import com.xhb.campusservices.mapper.Admin;
import com.xhb.campusservices.pojo.orderDto.OrderAdmin;
import com.xhb.campusservices.pojo.teskDto.TaskAdmin;
import com.xhb.campusservices.service.AdminTOService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class AdminTOServiceImpl implements AdminTOService {

    @Autowired
    Admin admin;

    /**
     * 管理员任务管理
     * @return
     */
    @Override
    public List<TaskAdmin> tAdmin() {
        return admin.tAdmin();
    }

    /**
     * 管理员订单管理
     * @return
     */
    @Override
    public List<OrderAdmin> oAdmin() {
        return admin.oAdmin();
    }
}
